package com.dq;

import com.dq.common.Invocation;
import com.dq.protocol.HttpClient;
import com.dq.proxy.ProxyFactory;

/**
 * @ClassName ${NAME}
 * @Description rpc消费者
 * @Author DuX1aoQiang
 * @Date 2023/5/24 11:22
 * @Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String ret = helloService.sayHello("你好");
        System.out.println(ret);
    }
}